package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.FlinkManBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface FlinkManService extends BaseService<FlinkManBean> {

	FlinkManBean getFlinkManBeanById(String id) throws Exception;
	
	void removeFlinkManBeanById(String id) throws Exception;
	
	void removeFlinkManBeanByIds(String ids) throws Exception;
	
	FlinkManBean saveFlinkManBean(FlinkManBean crm) throws Exception;
	
	FlinkManBean updateFlinkManBean(FlinkManBean crm) throws Exception;
	
	Page<FlinkManBean>  findFlinkManBeanByCond(FlinkManBean bean,
			Page<FlinkManBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveFlinkManBeanExt(String sql) throws Exception;

	String findFlinkManBeanExtCreate(String tableName) throws Exception;

	String findFlinkManBeanExtEdit(String tableName, String id)
			throws Exception;

	String findFlinkManBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasFlinkManBeanExtData(String tableName, String id)
			throws Exception;
}